package dbms.absyn;

public class SelectExp extends Exp {
	public SelectClause select_stmt = null;
	public FromClause from_stmt = null;
	public WhereClause where_stmt = null;
	public OrderClause order_stmt = null;
	
	public SelectExp(int p, SelectClause ss, FromClause fs){
		this.pos = p;
		this.select_stmt = ss;
		this.from_stmt = fs;
		
	}
	
	public SelectExp(int p, SelectClause ss, FromClause fs, WhereClause ws, OrderClause os) {
		pos = p;
		select_stmt = ss;
		from_stmt = fs;
		where_stmt = ws;
		order_stmt = os;
	}
	
	public SelectExp(int p, SelectClause ss, FromClause fs, WhereClause ws) {
		pos = p;
		select_stmt = ss;
		from_stmt = fs;
		where_stmt = ws;
	}

	public SelectExp(int p, SelectClause ss, FromClause fs, OrderClause os) {
		pos = p;
		select_stmt = ss;
		from_stmt = fs;
		order_stmt = os;
	}
}